﻿using MiddlewareTest.Middleware;
using MiddlewareTest.MiddlewareDelegate;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace MiddlewareTest.AppBuilder
{
    public interface IApplicationBuilder
    {
        IApplicationBuilder Use<T>() where T : BaseMiddleware;
        Task<RequestContext> BuildAsync(RequestContext context);
    }
}
